package com.vend.main.areamanager

import android.os.Bundle
import com.vend.common.base.BaseActivity
import com.vend.common.mvp.IPresenter
import com.vend.common.mvp.IView
import com.vend.main.R
import com.vend.main.areamanager.presenter.AreaMangerPresenter

/**
 * Created by glendal on 2022/01/25.
 * 区域管理
 */
class AreaManagerActivity : BaseActivity<AreaMangerPresenter>(),AreaManagerView {
    override fun getContentLayoutId(): Int {
        return R.layout.activity_main_area_manger
    }

    override fun initView(savedInstanceState: Bundle?) {
        mPresenter = AreaMangerPresenter(this,this)
        mPresenter?.start()
    }

    override fun onDestroy() {
        super.onDestroy()
        mPresenter?.stop()
    }
}
//这里是区域管理View的实现
interface AreaManagerView : IView{

}